<#import "/crud/macro/global.ftl" as crud>

<@crud.body title=locale.title_prefix?if_exists + "--" + locale.error_title?if_exists>
<div class="error_div">
	<h1>
	${locale.error_warning_label?if_exists}
	</h1>
	<br />
	<p>
	<#if error_type?exists>
		<#if error_type == "no_model_match">
			${locale.no_model_match?if_exists}
		<#elseif error_type == "parameter_required">
			${locale.parameter_required?if_exists}
		<#elseif error_type == "parameter_invalid">
			${locale.parameter_invalid?if_exists}
		<#elseif error_type == "add_no_support">
			${locale.add_no_support?if_exists}
		<#elseif error_type == "update_no_support">
			${locale.update_no_support?if_exists}
		<#elseif error_type == "delete_no_support">
			${locale.delete_no_support?if_exists}
		</#if>
	</#if>
	</p>
	<br />
	<p><a href="#" onclick="javascript: history.back();">${locale.back_opt?if_exists}</a></p>
</div>
</@crud.body>